/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package polimorfismo;

import java.util.ArrayList;

/**
 *
 * @author edwin
 */
public class AplicacionPolimorfismo {
public static void main(String[] args)
{
    ArrayList<CCuadrupedo> listabipedo=new ArrayList<CCuadrupedo>();
    listabipedo.add(new CCuadrupedo("chuqui","negro","maldito"));
    listabipedo.add(new CCuadrupedo("mostro", "marron", "los diabolicos"));
    for (int i = 0; i < listabipedo.size(); i++) {
        System.out.println(""+listabipedo.get(i).DatosBipedo());

    }
}
}
